package com.lpf.functional.custom;

import org.junit.Test;

public class MyFuncTest {

	@Test
	public void testGetValue() {
		String newStr = toUpperString(String::toUpperCase, "abcdef");
		System.out.println(newStr);
	}
	
	private String toUpperString(MyFunc<String> mf, String str) {
		return mf.getValue(str);
	}

}
